import http from "@/common/http/request";

// appstore审核开启状态
export const $touristLoginState = () => {
  const $http = new http();
  return $http.get({
    url: '/system/config/configKey/sys.api.touristLogin',
  })
}

// 变更appstore审核开启状态
export const $touristLoginStateEdit = (configValue: string) => {
  const $http = new http();
  return $http.put({
    url: '/system/config/editByKey',
    data: {
      configKey: "sys.api.touristLogin",
      configValue,
    }
  })
}